﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CAOrderInfo.aspx.cs" Inherits="RN.ERP.Web.CA.CAOrderInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <%=PageTitle %></title>
    <link href="../Styles/style.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/style_msg.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../Scripts/iepngfix_tilebg.js"></script>
    <script src="../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <link rel="Stylesheet" type="text/css" href="../Scripts/ligerUI/skins/Aqua/css/ligerui-all.css" />
    <script type="text/javascript" src="../Scripts/ligerUI/js/ligerui.min.js"></script>
    <style>
        .IE6png
        {
            behavior: url("../Scripts/iepngfix.htc");
        }
    </style>
    <script type="text/javascript">
        function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow;
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
            return oWindow;
        }
        $(function () {
            var group = $("#hidGroup").val();
            if (group == "CA02") {
                $(".hiddenFee").css("display", "none");
            }
            if (group == "CA01") {
                $(".update").css("display", "none");
            }
            else if (group == "CA02") {
                $(".DownLoad").css("display", "none");
            }
            else {
                $(".hiddenOpt").css("display", "none");
            }
            if (group != "") {
                $(".div" + group).css("display", "");
            }
            if ($("#hidUserType").val() == "Manager" && $("#hidRoleID").val() != "101" && $("#hidRoleID").val() != "110") {
                $(".hiddenOpt").css("display", "none");
            }
            $(".return_a").click(function () {
                parent.window.CloseWin("0");
                window.parent.$.ligerDialog.close(); ////关闭dialog
                parent.$(".l-dialog,.l-window-mask").hide(); ////去除父窗体遮罩层
            });
        })
        function Update(url) {
            $.ligerDialog.open({ url: url, width: 450, height: 350, title: '证书更新', buttons: [{ text: '关闭', onclick: function (item, dialog) { dialog.close(); } }] });
            return false;
        }
        function OnClientClose() {
            window.location.reload();
        }
    </script>
</head>
<body>
    <form runat="server">
    <div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
                <td width="16" class="title_lbg IE6png">
                </td>
                <td width="24" class="title_t IE6png">
                </td>
                <td width="900" class="title_libg IE6png">
                    订单信息
                </td>
                <td width="17" class="title_rbg IE6png">
                </td>
            </tr>
            <tr id="tbCorp" runat="server">
                <td class="border_lbg IE6png">
                    &nbsp;
                </td>
                <td colspan="2" style="padding-top: 16px; padding-left: 6px; padding-right: 6px;">
                    <div class="xian">
                        <div class="about_title">
                            企业数字证书产品订单详情</div>
                    </div>
                    <asp:Repeater ID="repCorp" runat="server" OnItemCommand="repCorp_ItemCommand">
                        <HeaderTemplate>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab" style="margin-bottom: 15px;">
                                <thead>
                                    <tr>
                                        <td width="28%" bgcolor="#f2f2f2">
                                            <strong>企业名称</strong>
                                        </td>
                                        <td width="36%" bgcolor="#f2f2f2">
                                            <strong>产品描述</strong>
                                        </td>
                                        <td bgcolor="#f2f2f2" class="hiddenFee">
                                            <strong>费用(元)</strong>
                                        </td>
                                        <td bgcolor="#f2f2f2">
                                            <strong>年费(元)</strong>
                                        </td>
                                        <td bgcolor="#f2f2f2" class="hiddenOpt">
                                            <strong>操作</strong>
                                        </td>
                                    </tr>
                                </thead>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tbody>
                                <tr>
                                    <td>
                                        <%#Eval("Title")%>
                                    </td>
                                    <td>
                                        <%#Eval("Description")%>
                                    </td>
                                    <td class="hiddenFee">
                                        <%#Eval("Fee")%>
                                    </td>
                                    <td>
                                        <%#Eval("YearlyFee")%>
                                    </td>
                                    <td class="hiddenOpt">
                                        <asp:LinkButton ID="lbtnCorp" CommandName="Corp" CommandArgument='<%#Eval("SourceID") %>'
                                            CssClass="DownLoad" runat="server"><img alt="" src="../Images/img_pdf.png"  title="数字证书申请表" width="22"
                                            height="22" /></asp:LinkButton>
                                        <a class="update" style="cursor: pointer;" onclick="Update('CAUpdate.aspx?id=<%#Eval("ID") %>');">
                                            <img alt="" src="../Images/update.png" title="更新" width="25" height="25" /></a>
                                    </td>
                                </tr>
                            </tbody>
                        </ItemTemplate>
                        <FooterTemplate>
                            </table>
                        </FooterTemplate>
                    </asp:Repeater>
                    <div class="zhifu">
                        <div class="zhifu_title">
                            <div class="fl">
                                <strong>支付详情</strong></div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="zhifu_con divCA01" style="display: none;">
                            1. 电子评标系统目前部分地区开通，请与当地招办联系。
                        </div>
                        <div class="zhifu_con divCA02" style="display: none;">
                            1. 电子评标系统目前部分地区开通，请与当地招办联系。<br />
                            <span style="color: Red; font-size: 16px;">2. 财务确认后请在30日之内完成数字证书更新。</span>
                        </div>
                        <div class="zhifu_con divCA03" style="display: none;">
                            1. 电子评标系统目前部分地区开通，请与当地招办联系。
                        </div>
                        <div class="zhifu_con divCA04" style="display: none;">
                            1. 电子评标系统目前部分地区开通，请与当地招办联系。
                        </div>
                    </div>
                </td>
                <td class="border_rbg IE6png">
                    &nbsp;
                </td>
            </tr>
            <tr id="tbPerson" runat="server">
                <td class="border_lbg IE6png">
                    &nbsp;
                </td>
                <td colspan="2" style="padding-top: 16px; padding-left: 6px; padding-right: 6px;">
                    <div class="xian">
                        <div class="about_title">
                            个人数字证书产品订单详情</div>
                    </div>
                    <asp:Repeater ID="repPerson" runat="server" OnItemCommand="repPerson_ItemCommand">
                        <HeaderTemplate>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab" style="margin-bottom: 15px;">
                                <thead>
                                    <tr>
                                        <td width="28%" bgcolor="#f2f2f2">
                                            <strong>姓名</strong>
                                        </td>
                                        <td width="36%" bgcolor="#f2f2f2">
                                            <strong>产品描述</strong>
                                        </td>
                                        <td bgcolor="#f2f2f2" class="hiddenFee">
                                            <strong>费用(元)</strong>
                                        </td>
                                        <td bgcolor="#f2f2f2">
                                            <strong>年费(元)</strong>
                                        </td>
                                        <td bgcolor="#f2f2f2" class="hiddenOpt">
                                            <strong>操作</strong>
                                        </td>
                                    </tr>
                                </thead>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tbody>
                                <tr>
                                    <td>
                                        <%#Eval("Title")%>
                                    </td>
                                    <td>
                                        <%#Eval("Description")%>
                                    </td>
                                    <td class="hiddenFee">
                                        <%#Eval("Fee")%>
                                    </td>
                                    <td>
                                        <%#Eval("YearlyFee")%>
                                    </td>
                                    <td class="hiddenOpt">
                                        <asp:LinkButton ID="lbtnPerson1" runat="server" CommandName="Person1" CssClass="DownLoad"
                                            CommandArgument='<%#Eval("SourceID") %>' Visible='<%# Eval("bCAKind").ToString().Contains("F2")%>'><img alt="" src="../Images/img_pdf.png"  title="个人数字证书及电子印章申请表" width="22"
                                            height="22" /></asp:LinkButton>
                                        <asp:LinkButton ID="lbtnPerson2" runat="server" CommandName="Person2" CssClass="DownLoad"
                                            CommandArgument='<%#Eval("SourceID") %>' Visible='<%# Eval("bCAKind").ToString().Contains("F0")%>'><img alt="" src="../Images/img_pdf.png"  title="个人Key申请表" width="22"
                                            height="22" /></asp:LinkButton>
                                        <a class="update" style="cursor: pointer;" onclick="Update('CAUpdate.aspx?id=<%#Eval("ID") %>');">
                                            <img alt="" src="../Images/update.png" title="更新" width="25" height="25" /></a>
                                    </td>
                                </tr>
                            </tbody>
                        </ItemTemplate>
                        <FooterTemplate>
                            </table>
                        </FooterTemplate>
                    </asp:Repeater>
                </td>
                <td class="border_rbg IE6png">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="border_lbg IE6png">
                    &nbsp;
                </td>
                <td colspan="2">
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 15px;">
                        <tr>
                            <td width="327">
                                &nbsp;
                            </td>
                            <td width="120" style="text-align: center;">
                                <div class="icon02 IE6png">
                                    <a href="javascript:void(0);" class="return_a">关闭</a>
                                </div>
                            </td>
                            <td width="329">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                </td>
                <td class="border_rbg IE6png">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="border_lconer IE6png" headers="17">
                    &nbsp;
                </td>
                <td colspan="2" class="border_bottomli IE6png" height="17">
                    &nbsp;
                </td>
                <td class="border_rconer IE6png" headers="17">
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div id="UDialog" style="margin: auto; width: 900px;">
        <telerik:RadAjaxLoadingPanel runat="server" ID="gridLoadingPanel">
        </telerik:RadAjaxLoadingPanel>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
            <Windows>
                <telerik:RadWindow ID="UserDialog" runat="server" Title="证书更新" Height="350px" Behaviors="Close"
                    Width="450px" Left="150px" ReloadOnShow="true" ShowContentDuringLoad="false"
                    Modal="true" Skin="WebBlue" VisibleStatusbar="False" CssClass="DialogCss">
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>
    </div>
    <asp:HiddenField ID="hidGroup" runat="server" />
    <asp:HiddenField ID="hidUserType" runat="server" />
    <asp:HiddenField ID="hidRoleID" runat="server" />
    </form>
</body>
</html>
